import * as mongoose from 'mongoose';
export class AccountSchema extends mongoose.Schema
{
    constructor()
    {
        super({
            firstName:String,
            lastName:String,
            email:String,
            account:String,
            password:String,
            lv:Number
        });
    }
}

export class Account
{
    public _id: object;
    public firstName:String;
    public lastName:String;
    public email:String;
    public account:String;
    public password:String;
    public lv:Number;
}